<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
        <title>写争鸣</title>
        <link rel="stylesheet" type="text/css" href="css/white.css" />
	</head>
	<body id="home" v-cloak>
		<!--头部-->
        <section class="header-box">
        	<a href="javascript:;" class="tab" @click="backPage()">取消</a>
            <a href="javascript:;" class="tab right" @click="whitecomm">发布</a>
        </section>
		<!--苏宁争鸣-->
        <section class="p-wapper">
        	<div class="cnt-head">
        	    <a class="img-cnt" href="javascript:;" @click="replaceImg">
        	       <img :src="nmObj.headPic" alt="" />
        	       <span>换</span>
        	    </a>        		
        		<div class="title">
        			<span>{{nmObj.name}}</span>
        			<span v-if="criticType==1" class="type-tag">OA认证</span>
        			<a href="javascript:;" v-if="criticType==3" @click="changePic" class="change">试试手气</a>
        			<!--<p class="signature">匿名状态 昵称为随机分配</p>-->
        		</div>
        		<div class="anonymous">
        			<span>匿名</span>
        			<a href="javascript:;" class="sprites i-uncheck" :class="{'i-check':isanonymous}" @click="anonymousWhite"></a>
        		</div>
        	</div>
        	<div class="cnt-text">
        		<textarea maxlength="500" v-model="commContent"></textarea>   
                <span>{{commContent.length}}/500</span>
        	</div>
        </section>        
        <!-- 弹框样 -->
        <section class="pop" v-show="showPop">
            
        </section>
        <script>
        	var ua = window.navigator.userAgent.toLowerCase();
	        if(ua.match(/MicroMessenger/i) == 'micromessenger') {
	        	var ua = window.navigator.userAgent.toLowerCase();
	    		if (ua.match(/MicroMessenger/i) == 'micromessenger') {
	    			var script = document.createElement("script");
	    			script.src = "http://res.wx.qq.com/open/js/jweixin-1.0.0.js";
	    			document.body.appendChild(script);
	    		}
	        }
        </script>
        <script src="js/vue.min.js"></script>
        <script src="js/vue-resource.min.js"></script>
        <script src="js/zepto.min.js"></script>
        <script src="js/common.js"></script>
        <script src="js/cropper.js"></script>
        <script src="js/white.js"></script>
        <!-- 这里要根据环境换地址 start -->
        <script src="https://sslres.suning.com/project/passport/js/passport.min.js"></script>
        
	</body>
</html>
